{{#extend 'css'}}
    <link rel='stylesheet' href='../css/moudle/pager.css'/>
{{/extend}}

<div class="pagination">
    <a class="first-page {{#unless first}}disabled{{/unless}}"
       {{#if first}}href="?page=1"{{/if}}>
        <span>首页</span>
    </a>
        <a class="pagination-prev {{#unless prev}}forend{{/unless}}"
    {{#if prev}}href="?page={{minusOne page}}"{{/if}}> <<
    </a>
    <a class="pagination-pager">
        <span class="Tpage">{{page}}</span>
        <span class="pagination-slash">／</span>{{total}}</a>
        <a class="pagination-next {{#unless next}}forend{{/unless}}"
    {{#if next}}href="?page={{addOne page}}"{{/if}}> >>
    </a>
        <a class="last-page {{#unless last}}disabled{{/unless}}"
    {{#if last}}href="?page={{total}}"{{/if}}>尾页</a>
</div>
